package com.atguigu.gulimall.ware.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author: kaiyi
 * @create: 2020-09-16 18:47
 */

@FeignClient("gulimall-order")
public interface OrderFeignService {
  @GetMapping(value = "/order/order/status/{orderSn}")
  R getOrderStatus(@PathVariable("orderSn") String orderSn);

}
